// 获取商品所在仓库
export const getKuList = `
query($page:Int,$staff_id:Int){
    getKuList(page:$page,staff_id:$staff_id){
    list{
         id
         name
  }
  lastpage
  total
  }
}
`;
// 仓库详情
export const getKuInfo = `
query($ku_id:Int){
    getKuInfo(ku_id:$ku_id){
        id
        name
        admin_name
        address
  }
}
`;
// 获取仓库商品分类
export const getKuGoodsCate = `
query($ku_id:Int){
    getKuGoodsCate(ku_id:$ku_id){
        id
        name
  }
}
`;
// 获取仓库商品列表
export const getKuGoodsList = `
query($page:Int,$cid:Int,$ku_id:Int){
    getKuGoodsList(page:$page,cid:$cid,ku_id:$ku_id){
    list{
      id
      name
      goods_id
      nums
  }
  lastpage
  total
  }
}
`;
// 获取仓库商品详情
export const getKuGoodsInfo = `
query($id:Int){
    getKuGoodsInfo(id:$id){
        id
        name
        goods_id
        nums
        goods_image
        subtitle
  }
}
`;
// 获取仓库商品变动明细
export const getKuGoodsChangeList = `
query($page:Int,$id:Int){
    getKuGoodsChangeList(page:$page,id:$id){
    list{
        id
        name
        goods_id
        nums
        after
        memo
        createtime
  }
  lastpage
  total
  }
}
`;
// 获取仓库商品变动明细
export const getGoodsList = `
query($page:Int,$keywords:String){
  getGoodsList(page:$page,keywords:$keywords){
    list{
      id
      name
      delivery_price
      score
      price
      stock
      goods_image
  }
  lastpage
  total
  }
}
`;
// 获取溶液盘库记录
export const getAmountPanList = `
query($page:Int,$staff_id:Int,$type:String){
   getAmountPanList(page:$page,staff_id:$staff_id,type:$type){
    list{
      id
      amount
      fill_name
      service_name 
      service_id
      image{
        image
      }
			fill_id
			createtime
  }
  lastpage
  total
  }
}
`;
// 获取溶液盘库记录
export const getAmountPan = `
query($id:Int){
  getAmountPan(id:$id){
    id
    amount
    createtime
    fill_name
    fill_id
    service_name 
    service_id
    type
    image{
      image
    }
  }
}
`;
